package com.kt.oa.oasysteam.service.impl;

import com.kt.oa.oasysteam.dao.UserMapper;
import com.kt.oa.oasysteam.entity.KtEmp;
import com.kt.oa.oasysteam.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Auther: zhuzhuhong
 * @Date: 2019/11/5 14:12
 * @Description:
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public List<KtEmp> findEmps(String userName, String companyName) {
        return userMapper.selectEmps(userName, companyName);
    }
}
